<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>Vidracaria - Contato</title>
        <script type="text/javascript" src="script/jquery-1.6.3.min.js"></script>
        <script type="text/javascript" src="script/jquery.maskedinput-1.3.min.js"></script>
        <script>
            jQuery(function($){
                $("#telefone").mask("(99) 9999-9999");
            });
        </script>
    </head>
    <body>
        <div class="total">
            <div class="menulogin">
                <?php
                include_once 'cabecalho.php';
                include_once 'titulo.php';
                include_once 'script/conecta.php';
                ?>
            </div>

            <div class="cabecalho">
            </div>
            <?php
                include_once 'menuHorizontal.php';
            ?>

                <div class="conteudo">
                    <div class="subconteudo">
                    <?php
                    if (empty($_POST['ACAO']) || $_POST['ACAO'] == "Contato") {
                        Contato();
                    }

                    if (isset($_POST['ACAO']) && $_POST['ACAO'] == "mapaSees") {
                        mapaSees();
                    }

                    if (isset($_POST['ACAO']) && $_POST['ACAO'] == "mapaQ07") {
                        mapaQ07();
                    }

                    ?>


                    <?php

                    function Contato() {
                    ?>
                        <div class="contato">
                            <table class="tblContato">
                                <form action="script/acoes.php" method="post" name="Cadastro" onsubmit="return ValidaFormularios()" >
                                    <input type="hidden" name="ACAO" value="InserirContato">
                                    <tr><td>
                                            <label class="label9"> Contato</label>

                                    <tr><td>
                                            <label class="label2">* Nome:</label>
                                    <tr><td>
                                            <input type="text" name="NOME" size="25" maxlength="40" required class="InputMaior">

                                    <tr><td>
                                            <label class="label2">* Email:</label>
                                    <tr><td>
                                            <input type="email" name="EMAIL" size="30" maxlength="40" required class="InputMaior">

                                    <tr><td>
                                            <label class="label2">* Telefone:</label>
                                    <tr><td>
                                            <input type="text" name="TELEFONE" id="telefone" class="InputMaior">

                                    <tr><td>
                                            <label class="label2">Assunto:</label>
                                    <tr><td>
                                            <input type="text" name="ASSUNTO" size="10" required maxlength="13" class="InputMaior">

                                    <tr><td>
                                            <label class="label2">Mensagem</label>
                                    <tr><td>
                                            <textarea cols="40" rows="5" maxlength="50" name="MENSAGEM">

                                            </textarea>
                                            <br/>
                                    <tr><td>
                                            <input type="submit" value="    Enviar" class="btnConcluido">
                                </form>
                            </table>
                        </div>


                        <div class="lojasContato">
                            <br/>
                            <label class="labelVermelhaCenter"> Nossas Lojas </label>
                            <div class="contatoLojas">
                                <div class="subMenuTitulo">
                                    Setor De Expansão Economico
                                </div>
                                <div class="imgSubMenu">
                                    <img src="style/imagens/vidracaria.jpg"/>
                                </div>
                                <div class="SubContatoDireita">
                                    <label class="label3">
                                        Fone: 3591-3444<br/>
                                        Fax: 3387-3625 <br/><br/>
                                        Setor de Expansão Econômico de Sobradinho
                                        <form action="contato.php" method="post">
                                            <input type="hidden" value="mapaSees" name="ACAO">
                                            <input type="submit" value="Mer Mapa" >
                                        </form>

                                    </label>
                                </div>

                            </div>

                            <div class="contatoLojas">
                                <div class="subMenuTitulo">
                                    Sobradinho
                                </div>
                                <div class="imgSubMenu">
                                    <img src="style/imagens/vidracaria.jpg"/>
                                </div>
                                <div class="SubContatoDireita">
                                    <label class="label3">
                                        Fone: 3591-0302<br/>
                                        Fax: 3387-0392 <br/><br/>
                                        Quadra 07 CL 27 lojas 4 e 8
                                        <form action="contato.php" method="post">
                                            <input type="hidden" value="mapaQ07" name="ACAO">
                                            <input type="submit" value="Mer Mapa" >
                                        </form>
                                    </label>
                                </div>
                            </div>

                        </div>
                    <?php
                    }
                    ?>


                    <?php

                    function mapaSees() {
                    ?>
                        <form action="contato.php" method="post">
                            <input type="hidden" name="ACAO" value="Contato">
                            <input type="submit" value="     Voltar" class="btnConcluido">
                        </form><br/><br/>
                        <div>
                            <iframe width="1200" height="600" frameborder="0"
                                    scrolling="no" marginheight="0" marginwidth="0"
                                    src="http://maps.google.com.br/maps?f=d&amp;source=s_d&amp;saddr=&amp;daddr=-15.661413,-47.792839&amp;hl=pt-BR&amp;geocode=&amp;sll=-15.661452,-47.792872&amp;sspn=0.003011,0.005493&amp;vpsrc=6&amp;mra=mift&amp;mrsp=1&amp;sz=19&amp;ie=UTF8&amp;ll=-15.661452,-47.792872&amp;spn=0.003011,0.005493&amp;t=h&amp;output=embed">
                            </iframe>
                        </div>

                    <?php
                    }
                    ?>

                    <?php

                    function mapaQ07() {
                    ?>
                        <form action="contato.php" method="post">
                            <input type="hidden" name="ACAO" value="Contato">
                            <input type="submit" value="     Voltar" class="btnConcluido">
                        </form><br/><br/>
                        <div>
                            <iframe width="1200" height="600" frameborder="0"
                                    scrolling="no" marginheight="0" marginwidth="0"
                                    src="http://maps.google.com.br/maps?f=d&amp;source=s_d&amp;saddr=&amp;daddr=-15.642221,-47.808526&amp;hl=pt-BR&amp;geocode=&amp;sll=-15.642234,-47.80856&amp;sspn=0.001705,0.002275&amp;vpsrc=6&amp;mra=mift&amp;mrsp=1&amp;sz=19&amp;ie=UTF8&amp;ll=-15.642234,-47.80856&amp;spn=0.001705,0.002275&amp;t=h&amp;output=embed"></iframe><br />
                        </div>

                    <?php
                    }
                    ?>



                </div>
            </div>
            <div class="rodape">
                <?php
                    include_once 'rodape.php';
                ?>
            </div>
        </div>
    </body>
</html>
